@extends('Layout/layout')

@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("department").className = "e_css";
	}); 
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('/department/department') }}"><p>部门管理</p></a></li>
<li><a href="{{ url('/department/post') }}"><p>岗位管理</p></a></li>
<li><a href="{{ url('/department/role') }}"><p>角色管理</p></a></li>
<li><a href="{{ url('/department/privilege/add') }}"><p>权限管理</p></a></li>
<!-- <li><a href="{{ url('/department/privilege') }}"><p>权限管理</p></a></li> -->
<!-- <li><a href="{{ url('/department/pass') }}"><p>密码修改</p></a></li> -->
<!-- <li><a href="{{ url('/department/allow') }}"><p>审批文档流程管理</p></a></li> -->
<!-- <li><a href="CustomManage.htm"><p>自定义功能管理</p></a></li> -->
</ul>
</div>
<div class="mian_b">
<div class="mian_b1">
 <a href="{{ url('/department/post/add') }}" title="添加"><p class="mian_b1_a1"></p></a>
<form action="{{ url('/department/post') }}" method="get">
<!-- <a href="#" title="删除"><p class="mian_b1_a2"></a> -->
<p class="mian_b1_sousuo"><input name="name" value="岗位名" type="text"></p>
<input type="image" src="/public/images/1.jpg" style="margin:13px;">
</form>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg">
<tr>
<td width="3%" class="mian_b_bg_lm"><input name="" type="checkbox" value="">&nbsp;</td>
<td width="15%" class="mian_b_bg_lm"><span></span>岗位ID</td>
<td width="10%" class="mian_b_bg_lm"><span></span>部门名称</td>
<td width="10%" class="mian_b_bg_lm"><span></span>岗位名称</td>
<td width="25%" class="mian_b_bg_lm"><span></span>备注</td>
<td class="mian_b_bg_lm" colspan="2"><span></span>操作</td>
</tr>
@foreach($res as $k => $v )
<tr>
<td><input name="" type="checkbox" value="">&nbsp;</td>
<td>{{ $v['PostId'] }} </td>
<td>{{ $v['DepartmentName'] }}</td>
<td>{{ $v['PostName'] }}</td>
<td>{{ $v['Remark'] }}</td>
<td width="8%" class="mian_b_icon_01"><a href="{{ url('/department/post/edit',['id'=>$v['PostId']]) }}">编辑</a></td>
<td width="8%" class="mian_b_icon_02"><a href="{{ url('/department/post/del',['id'=>$v['PostId']]) }}">删除</a></td>
</tr>
@endforeach
<tr>
<td width="3%" class="mian_b_bg_lm">&nbsp;</td>
<td width="15%" class="mian_b_bg_lm"><span></span>岗位ID</td>
<td width="10%" class="mian_b_bg_lm"><span></span>部门名称</td>
<td width="10%" class="mian_b_bg_lm"><span></span>岗位名称</td>
<td width="25%" class="mian_b_bg_lm"><span></span>备注</td>
<td class="mian_b_bg_lm" colspan="2"><span></span>操作</td>
</tr>
</table>
<div style="float:left;" id="fenye">
{!! $res->appends($info)->render() !!}
</div>

</div>
</div>
</body>

@endsection